package com.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sp_goods")
public class Goods {
    @TableId(value = "goods_id",type = IdType.AUTO)
    private Integer goods_id;
    @TableField("goods_name")
    private String goods_name;
    @TableField("goods_price")
    private Integer goods_price;
    @TableField("goods_number")
    private Integer goods_number;
    @TableField("goods_weight")
    private String goods_weight;
    @TableField("goods_state")
    private String goods_state;
    @TableField("add_time")
    private Integer add_time;
    @TableField("upd_time")
    private Integer upd_time;
    @TableField("hot_mumber")
    private String hot_mumber;
    @TableField("is_promote")
    private String is_promote;
     @TableField("delete_time")
    private Integer delete_time;

    public void setGoodsId(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public void setGoodsName(String goods_name) {
        this.goods_name = goods_name;
    }

    public void setGoodsPrice(Integer goods_price) {
        this.goods_price = goods_price;
    }

    public void setGoodsNumber(Integer goods_number) {
        this.goods_number = goods_number;
    }

    public void setGoodsWeight(String goods_weight) {
        this.goods_weight = goods_weight;
    }

    public void setGoodsState(String goods_state) {
        this.goods_state = goods_state;
    }

    public void setAddTime(Integer add_time) {
        this.add_time = add_time;
    }

    public void setUpdTime(Integer upd_time) {
        this.upd_time = upd_time;
    }

    public void setHotMumber(String hot_mumber) {
        this.hot_mumber = hot_mumber;
    }

    public void setIsPromote(String is_promote) {
        this.is_promote = is_promote;
    }

    public void setDeleteTime(Integer delete_time) {
        this.delete_time = delete_time;
    }
}
